package com.ruoyi.project.mahjong.domain.enu;

import com.ruoyi.common.enums.IBaseEnum;

public enum CompareToStatus implements IBaseEnum<Long> {
    XIAOYU(-1l, "左边数字小于右边数字返回-1"),
    DENGYU(0l, "左边数字等于右边数字返回0") ,
    DAYU(1l, "左边数字大于右边数字 1") ;

    private Long value;
    private String desp;

    CompareToStatus(Long value, String desp) {
        this.value = value;
        this.desp = desp;
    }

    @Override
    public Long getValue() {
        return this.value;
    }

    @Override
    public String getDesp() {
        return this.desp;
    }

    public void setValue(Long value) {
        this.value = value;
    }

    public void setDesp(String desp) {
        this.desp = desp;
    }

}
